home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
100%
| dexvert
| Internet Message Format (text/imf)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 72 65 | 64 2e 77 65 65 67 2e 75 |Path: re|d.weeg.u|
|00000010| 69 6f 77 61 2e 65 64 75 | 21 72 6f 62 69 6e 73 6f |iowa.edu|!robinso|
|00000020| 6e 0a 46 72 6f 6d 3a 20 | 54 68 65 20 41 6d 6f 72 |n.From: |The Amor|
|00000030| 70 68 6f 75 73 20 4d 61 | 73 73 20 3c 72 6f 62 69 |phous Ma|ss <robi|
|00000040| 6e 73 6f 6e 40 62 6c 75 | 65 2e 77 65 65 67 2e 75 |nson@blu|e.weeg.u|
|00000050| 69 6f 77 61 2e 65 64 75 | 3e 0a 4e 65 77 73 67 72 |iowa.edu|>.Newsgr|
|00000060| 6f 75 70 73 3a 20 63 6f | 6d 70 2e 6c 61 6e 67 2e |oups: co|mp.lang.|
|00000070| 63 0a 53 75 62 6a 65 63 | 74 3a 20 52 65 3a 20 47 |c.Subjec|t: Re: G|
|00000080| 65 74 74 69 6e 67 20 64 | 61 74 65 20 69 6e 20 55 |etting d|ate in U|
|00000090| 4e 49 58 0a 44 61 74 65 | 3a 20 4d 6f 6e 2c 20 31 |NIX.Date|: Mon, 1|
|000000a0| 38 20 4d 61 72 20 31 39 | 39 36 20 31 34 3a 33 30 |8 Mar 19|96 14:30|
|000000b0| 3a 30 38 20 2d 30 36 30 | 30 0a 4f 72 67 61 6e 69 |:08 -060|0.Organi|
|000000c0| 7a 61 74 69 6f 6e 3a 20 | 55 6e 69 76 65 72 73 69 |zation: |Universi|
|000000d0| 74 79 20 6f 66 20 49 6f | 77 61 2c 20 49 6f 77 61 |ty of Io|wa, Iowa|
|000000e0| 20 43 69 74 79 2c 20 49 | 41 2c 20 55 53 41 0a 44 | City, I|A, USA.D|
|000000f0| 69 73 74 72 69 62 75 74 | 69 6f 6e 3a 20 77 6f 72 |istribut|ion: wor|
|00000100| 6c 64 0a 4d 65 73 73 61 | 67 65 2d 49 44 3a 20 3c |ld.Messa|ge-ID: <|
|00000110| 50 69 6e 65 2e 41 33 32 | 2e 33 2e 39 31 2e 39 36 |Pine.A32|.3.91.96|
|00000120| 30 33 31 38 31 34 31 31 | 31 33 2e 35 32 33 39 35 |03181411|13.52395|
|00000130| 41 2d 31 30 30 30 30 30 | 40 72 65 64 2e 77 65 65 |A-100000|@red.wee|
|00000140| 67 2e 75 69 6f 77 61 2e | 65 64 75 3e 0a 52 65 66 |g.uiowa.|edu>.Ref|
|00000150| 65 72 65 6e 63 65 73 3a | 20 3c 34 69 6b 34 34 37 |erences:| <4ik447|
|00000160| 24 62 6e 37 40 72 61 66 | 66 6c 65 73 2e 74 65 63 |$bn7@raf|fles.tec|
|00000170| 68 6e 65 74 2e 73 67 3e | 0a 4e 4e 54 50 2d 50 6f |hnet.sg>|.NNTP-Po|
|00000180| 73 74 69 6e 67 2d 48 6f | 73 74 3a 20 72 65 64 2e |sting-Ho|st: red.|
|00000190| 77 65 65 67 2e 75 69 6f | 77 61 2e 65 64 75 0a 4d |weeg.uio|wa.edu.M|
|000001a0| 69 6d 65 2d 56 65 72 73 | 69 6f 6e 3a 20 31 2e 30 |ime-Vers|ion: 1.0|
|000001b0| 0a 43 6f 6e 74 65 6e 74 | 2d 54 79 70 65 3a 20 54 |.Content|-Type: T|
|000001c0| 45 58 54 2f 50 4c 41 49 | 4e 3b 20 63 68 61 72 73 |EXT/PLAI|N; chars|
|000001d0| 65 74 3d 55 53 2d 41 53 | 43 49 49 0a 58 2d 53 65 |et=US-AS|CII.X-Se|
|000001e0| 6e 64 65 72 3a 20 72 6f | 62 69 6e 73 6f 6e 40 72 |nder: ro|binson@r|
|000001f0| 65 64 2e 77 65 65 67 2e | 75 69 6f 77 61 2e 65 64 |ed.weeg.|uiowa.ed|
|00000200| 75 0a 49 6e 2d 52 65 70 | 6c 79 2d 54 6f 3a 20 3c |u.In-Rep|ly-To: <|
|00000210| 34 69 6b 34 34 37 24 62 | 6e 37 40 72 61 66 66 6c |4ik447$b|n7@raffl|
|00000220| 65 73 2e 74 65 63 68 6e | 65 74 2e 73 67 3e 20 0a |es.techn|et.sg> .|
|00000230| 0a 4f 6e 20 4d 6f 6e 2c | 20 31 38 20 4d 61 72 20 |.On Mon,| 18 Mar |
|00000240| 31 39 39 36 2c 20 4c 65 | 6f 6e 61 72 64 20 53 69 |1996, Le|onard Si|
|00000250| 6d 20 77 72 6f 74 65 3a | 0a 0a 3e 20 43 61 6e 20 |m wrote:|..> Can |
|00000260| 61 6e 79 6f 6e 65 20 70 | 6c 65 61 73 65 20 69 6e |anyone p|lease in|
|00000270| 66 6f 72 6d 20 6d 65 20 | 68 6f 77 20 74 6f 20 6f |form me |how to o|
|00000280| 62 74 61 69 6e 20 74 68 | 65 20 64 61 74 65 20 69 |btain th|e date i|
|00000290| 6e 20 55 4e 49 58 20 43 | 3f 3f 0a 3e 20 49 20 6a |n UNIX C|??.> I j|
|000002a0| 75 73 74 20 6e 65 65 64 | 20 74 68 65 20 64 61 74 |ust need| the dat|
|000002b0| 65 20 69 6e 20 74 68 69 | 73 20 66 6f 72 6d 61 74 |e in thi|s format|
|000002c0| 20 22 64 64 2f 6d 6d 2f | 79 79 79 79 22 2e 20 54 | "dd/mm/|yyyy". T|
|000002d0| 68 61 6e 6b 73 21 21 21 | 0a 0a 20 20 23 69 6e 63 |hanks!!!|.. #inc|
|000002e0| 6c 75 64 65 20 3c 74 69 | 6d 65 2e 68 3e 0a 20 20 |lude <ti|me.h>. |
|000002f0| 23 64 65 66 69 6e 65 20 | 44 41 54 45 53 49 5a 45 |#define |DATESIZE|
|00000300| 20 31 30 20 20 20 20 2f | 2a 20 32 20 2b 20 31 20 | 10 /|* 2 + 1 |
|00000310| 2b 20 32 20 2b 20 31 20 | 2b 20 34 20 2a 2f 0a 20 |+ 2 + 1 |+ 4 */. |
|00000320| 20 63 68 61 72 20 2a 4f | 62 74 61 69 6e 44 61 74 | char *O|btainDat|
|00000330| 65 28 63 68 61 72 20 2a | 62 75 66 29 0a 20 20 7b |e(char *|buf). {|
|00000340| 0a 20 20 20 20 20 20 74 | 69 6d 65 5f 74 20 74 3b |. t|ime_t t;|
|00000350| 0a 20 20 20 20 20 20 73 | 74 72 75 63 74 20 74 6d |. s|truct tm|
|00000360| 20 2a 74 70 3b 0a 20 20 | 20 20 20 20 69 66 20 28 | *tp;. | if (|
|00000370| 62 75 66 29 20 7b 0a 20 | 20 20 20 20 20 20 20 20 |buf) {. | |
|00000380| 20 74 69 6d 65 28 26 74 | 29 3b 20 20 20 20 20 20 | time(&t|); |
|00000390| 2f 2a 20 67 65 74 20 63 | 75 72 72 65 6e 74 20 74 |/* get c|urrent t|
|000003a0| 69 6d 65 20 2a 2f 0a 20 | 20 20 20 20 20 20 20 20 |ime */. | |
|000003b0| 20 74 70 20 3d 20 6c 6f | 63 61 6c 74 69 6d 65 28 | tp = lo|caltime(|
|000003c0| 26 74 29 3b 20 20 20 20 | 2f 2a 20 63 6f 6e 76 65 |&t); |/* conve|
|000003d0| 72 74 20 74 6f 20 73 74 | 72 75 63 74 20 74 6d 20 |rt to st|ruct tm |
|000003e0| 2a 20 66 6f 72 20 73 74 | 72 66 74 69 6d 65 28 29 |* for st|rftime()|
|000003f0| 20 2a 2f 0a 20 20 20 20 | 20 20 20 20 20 20 73 74 | */. | st|
|00000400| 72 66 74 69 6d 65 28 62 | 75 66 2c 20 44 41 54 45 |rftime(b|uf, DATE|
|00000410| 53 49 5a 45 2c 20 22 25 | 64 2f 25 6d 2f 25 59 22 |SIZE, "%|d/%m/%Y"|
|00000420| 2c 20 74 70 29 0a 20 20 | 20 20 20 20 7d 0a 20 20 |, tp). | }. |
|00000430| 20 20 20 20 72 65 74 75 | 72 6e 20 62 75 66 3b 0a | retu|rn buf;.|
|00000440| 20 20 7d 0a 0a 20 20 54 | 68 61 74 20 73 68 6f 75 | }.. T|hat shou|
|00000450| 6c 64 20 77 6f 72 6b 20 | 6f 6e 20 61 6e 79 20 70 |ld work |on any p|
|00000460| 6c 61 74 66 6f 72 6d 20 | 74 68 61 74 20 73 75 70 |latform |that sup|
|00000470| 70 6f 72 74 73 20 41 4e | 53 49 20 43 2e 20 20 49 |ports AN|SI C. I|
|00000480| 74 20 72 65 74 75 72 6e | 73 20 4e 55 4c 4c 20 0a |t return|s NULL .|
|00000490| 69 66 20 79 6f 75 20 70 | 61 73 73 20 69 74 20 61 |if you p|ass it a|
|000004a0| 20 6e 75 6c 6c 20 70 6f | 69 6e 74 65 72 2c 20 62 | null po|inter, b|
|000004b0| 75 74 20 69 66 20 79 6f | 75 20 70 61 73 73 20 69 |ut if yo|u pass i|
|000004c0| 74 20 61 20 70 6f 69 6e | 74 65 72 20 74 6f 20 61 |t a poin|ter to a|
|000004d0| 6e 20 0a 69 6e 73 75 66 | 66 69 63 69 65 6e 74 20 |n .insuf|ficient |
|000004e0| 61 6d 6f 75 6e 74 20 6f | 66 20 6d 65 6d 6f 72 79 |amount o|f memory|
|000004f0| 20 28 66 65 77 65 72 20 | 74 68 61 6e 20 44 41 54 | (fewer |than DAT|
|00000500| 45 53 49 5a 45 20 2b 20 | 31 20 63 68 61 72 73 29 |ESIZE + |1 chars)|
|00000510| 20 74 68 65 6e 20 70 72 | 6f 67 72 61 6d 20 0a 66 | then pr|ogram .f|
|00000520| 61 6c 6c 20 64 6f 77 6e | 20 67 6f 20 62 6f 6f 6d |all down| go boom|
|00000530| 2e 0a 0a 2f 2a 2a 4a 61 | 6d 65 73 20 52 6f 62 69 |.../**Ja|mes Robi|
|00000540| 6e 73 6f 6e 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |nson****|********|
|00000550| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 20 20 20 20 20 |********|*** |
|00000560| 20 20 20 20 20 20 20 0a | 20 20 22 49 66 20 61 20 | .| "If a |
|00000570| 66 61 74 61 6c 20 65 72 | 72 6f 72 20 6f 63 63 75 |fatal er|ror occu|
|00000580| 72 73 2c 20 74 68 65 20 | 70 72 6f 67 72 61 6d 20 |rs, the |program |
|00000590| 73 68 6f 75 6c 64 20 6e | 6f 74 20 62 65 20 61 6c |should n|ot be al|
|000005a0| 6c 6f 77 65 64 20 74 6f | 20 63 6f 6e 74 69 6e 75 |lowed to| continu|
|000005b0| 65 2e 22 0a 20 2d 2d 20 | 4f 72 61 63 6c 65 20 50 |e.". -- |Oracle P|
|000005c0| 72 6f 2a 43 20 55 73 65 | 72 27 73 20 47 75 69 64 |ro*C Use|r's Guid|
|000005d0| 65 20 20 20 20 20 20 20 | 20 20 2a 2a 2a 2a 2a 2a |e | ******|
|000005e0| 2a 2a 2a 2a 2a 2a 2a 6a | 61 6d 65 73 2d 72 6f 62 |*******j|ames-rob|
|000005f0| 69 6e 73 6f 6e 40 75 69 | 6f 77 61 2e 65 64 75 2a |inson@ui|owa.edu*|
|00000600| 2a 2f 0a | |*/. | |
+--------+-------------------------+-------------------------+--------+--------+